#include "presets\trade_discounts.ltx"
#include "presets\trade_presets.ltx"

[trader]
buy_condition = trade_generic_buy 
sell_condition = trade_generic_sell
buy_supplies = {=toolkit_task_done(3)} supplies_4, {=toolkit_task_done(2)} supplies_3, {=toolkit_task_done(1)} supplies_2, supplies_1
buy_item_condition_factor = 0.01
buy_item_exponent = 1.75
sell_item_exponent = 0.75

discounts = discount_mechanic

[trade_generic_buy]:mechanic, artefacts_regular_h, toolkits_h
itm_pda_common                           ;NO TRADE
itm_pda_rare                             ;NO TRADE
itm_pda_uncommon                         ;NO TRADE
pri_a25_explosive_charge_item            ;NO TRADE

[trade_generic_sell]:mechanic, toolkits_h, repair_h


[supplies_1]:common_stock		;-- no tools
universal_repair_kit				= 1, 0.77
universal_maintenance_kit			= 2, 0.77
prt_scrap_1							= 10, 0.15

[supplies_2]:supplies_1		;-- basic tools delivered
universal_repair_kit				= 2, 0.7
universal_maintenance_kit			= 3, 0.7
swiss_knife							= 1, 1
prt_scrap_1							= 15, 0.15
prt_scrap_2							= 6, 0.15

[supplies_3]:supplies_2		;-- advanced tools delivered
universal_repair_kit				= 3, 0.75
universal_maintenance_kit			= 4, 0.75
swiss_knife							= 2, 1
prt_scrap_1							= 20, 0.15
prt_scrap_2							= 12, 0.15
prt_scrap_3							= 3, 0.15

[supplies_4]:supplies_3		;-- expert tools delivered
universal_repair_kit				= 3, 0.8
universal_maintenance_kit			= 5, 0.8
swiss_knife							= 3, 0.77
prt_scrap_1							= 30, 0.15
prt_scrap_2							= 18, 0.15
prt_scrap_3							= 4, 0.15
